package gui;

import javax.swing.table.DefaultTableModel;

public class TableAppender implements Runnable {

	private DefaultTableModel dm;

	private Object[] row;

	public TableAppender( DefaultTableModel dm, Object[] rowToAppend ) {
		this.dm = dm;
		this.row = rowToAppend;
	}

	public void run() {
		dm.addRow( row );
	}
}
